/*
 * Copyright (c) 2023 Huawei Technologies Co., Ltd.
 * openUBMC is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *         http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */

#include "protocol.h"

namespace dev {

protocol_object::protocol_object(mc::engine::abstract_object* parent) : mc::core::object(parent) {
}

protocol_object::~protocol_object() {
}

void protocol_object::send_request() {
    // 默认实现为空
}

void protocol_object::unpack_response_data() {
    // 默认实现为空
}

void protocol_object::construct_request_data() {
    // 默认实现为空
}

void protocol_object::validate_request_params() {
    // 默认实现为空
}

void protocol_object::send() {
    // 默认实现为空
}

void protocol_object::after_response() {
    // 默认实现为空
}

void protocol_object::pre_response() {
    // 默认实现为空
}

void protocol_object::after_request() {
    // 默认实现为空
}

void protocol_object::pre_request() {
    // 默认实现为空
}

void protocol_object::init() {
    // 默认实现为空
}

} // namespace dev